From 1f2d7a821f44cdb3ec30ab9f0d4fc698609bdcb4 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 1 May 2007 14:01:01 +0100 Subject: [PATCH] xend: Fix SrvDomain.op_save. The xen.xend.server.SrvDomain class provides an op_save method for saving guests. This just calls into the domain_save method on xen.xend.XenDomain The latter recently gained an extra 'checkpoint' argument, but the SrvDomain class is not providing this. The attached patch simply makes the 'checkpoint' arg default to 'False' if not provided by the caller which makes old calling convention. Signed-off-by: Daniel P. Berrange --- tools/python/xen/xend/XendDomain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index 00c2603987..607846cb59 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -1227,7 +1227,7 @@ class XendDomain: XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst) sock.close() - def domain_save(self, domid, dst, checkpoint): + def domain_save(self, domid, dst, checkpoint=False): """Start saving a domain to file. @param domid: Domain ID or Name -- 2.30.2